var log=console.log;
var user={username:"zhangsan",age:20,sex:"male"};

log("username:%s",user.username);
log("age:%d",user.age);
log("sex:%s",user.sex);
log("user:%j",user);//JSON数据的占位符：%j

log(`${user.username}`);